package cn.service;

import cn.entity.SysArea;
import com.github.pagehelper.PageInfo;

import javax.servlet.ServletOutputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.List;

public interface SysAreaSerevice extends BaseService<SysArea>{
    SysArea selectArea( HashMap<String, Object> map);

    PageInfo<SysArea> selectPage(int pageNum, int pageSize, HashMap<String, Object> map);

    List<SysArea> selectChangeTree(Long id);

    String selectParentIds(String newId);

    int updateParentIds(SysArea areaParents);

    void upload(InputStream inputStream);

    void download(ServletOutputStream outputStream);
}
